package com.itheima.service;

import com.itheima.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DeptService {
    List<Dept> list();


    void delete(Integer id);

    void insert(Dept dept);


    Dept select(Integer id);

    void update(Dept dept);
}
